#!-*- encoding:utf8 -*-
from django.conf.urls.defaults import *
from osmp.monitor import models, views
from osmp.monitor.views import *

urlpatterns = patterns('',
            #--- 首页
        (r'^$', views.monitorlist),
        (r'monitorlist/$', views.monitorlist),
        (r'errorlist/$', views.errorlist),
        (r'addmonitor/$', views.addmonitor),
        (r'export/$', views.export),
        (r'modifymonprj/(?P<id>\d+)/$', views.modifymonprj),
        (r'updatemonprj/$', views.updatemonprj),
        (r'monitorstatus/(?P<id>\d+)$', views.monitorstatus),
        (r'deletemonprj/(?P<id>\d+)/$', views.deltemonprj),
        (r'monitorview/(?P<id>\d+)/$', views.monitorview),
        #(r'tree/$', views.tree),
        #(r'filterlist/$',views.filterlist),
        (r'dbtocsv/$', views.dbtocsv),
        
        ###############ajax############################
        #(r'ajax_test/$', views.ajax_test),
)
